simple refacroring