rm stub code