method calling
code generation for methods