Finalized loop for WM