resa done but flow to be improved