add some checkin functions