changes to findFreeTimes, not yet finished