extract checkin, checkout and organize model methods
provide fallback for nil notes