initial implementation of request handler