refactored names of methods