Changed calcHours to calcHours2