trying to fix timer