checkIn function all done