removing alarm code