basic time-based calculations are done