refactored the method names