steps for scan