model validation for checkin