made mapRequestData a public method