completed scan implementation