entry and exit time