[new feature]implement checkin.