added docs for stubbing