refactoring name into scheme