added printfs in scan address entries