some refactoring before create mentions