Change loop retetion and b.x  and plot all