Fixed loop over statements
Changed some coloring to output
Addded use instead