working on function request handler block