tryed differnt timer implementation