recasting the flow and the css