function to extract checkin values