basic timer and alarm functionality working