modefied request.mem