Started with basic alarmFunction and index