functioning alarm generator. needs to be extended to learn how to ring
'working through git learning'