Code from university courses.