Edited the getClassTaught method in ClassDAO