Added in seconds and minutes, implemented TMR1 functionality