updating the method signatures to match the refactoring