added example for custom requests