Rsm implementation