redesign front end flow