added wrms algorithms