using service to scan data