added support for custom requests (not only '')