basic clock/alarm functionality