refactoring instructions