updated MethodCalls.java