added method id section and class def section