redid withdrawal logic