added timer test code