refactoring renaming of the alternate solution