added timer debugging