simple refact