improved scan