little code reorder