I don't understand why you needed to separate the class transfer into a separate `classes` variable, seems superfluous at a quick glance...