scanning is working