helper added for course time