everything works except timer