refactoring prompt