refactor name methods