scan is working