initial checkin scheduling code