basic spec of calculate_times