added 'getBody' method