add rmi task

closes #5