single closure in it own file as request handler