added middleclass to prerequisites