allowed passing handler, with arguments.