added print statements to queue and scanners