moved classes information generation block