added parse class of functions