Updated to latest loops