was working and broke on addition of button functionality so adding this and going to cmd z till its working again. then add timer