more work setting up api stub