Fire alarm mechanism. How it works