changed PerRequest to RequestHandler