stubbing out handler