some updates the the printing of SCAN output