added print statements to scanners