added tock timer