removed scan and fixed examples