start a function for stubbing methods in packages