stubbing out api