stubbing out usage and some code