complete alarm code