wrote stuff to estimate visit duration for each cluster