reflow for stright foward logic