add priority to saved free times
working on computing overlap time