parsing of function bodies