code exercise timeshare