scanner construction compsci 164 6373266