added timer and header