Combined processCourse t and l functions, took out vars