added stuff that actually make last checkin work