Added time output to scan example