trying to make timer pause