scnning function added