added closureExample