implement checkin.