adding main css class to output