Changed comment formatting and added time function type