basic timer working as expected