rm control lib