added calculation of avg commute time