working on method calls and return statements