processing prerequisites and classes