undo refactoring which wasnt