added time checker