added wrapping of request parameters