new version of the method call for mocking