request handler mostly sorted