Fix return value of print.
Added terrible comments