Added buzzer and switch for alarm function.