added searchFreeTimeForEvent