allow custom request handler