minor edit to main and print, added lecturer class