changed bind to handleRequest