Making a simple alarm module