refactoring pairing algorithm, adding interval between checking and checkout to employeeview