added scan example