Simple timer based on tutorials I found