Changed print() return type : from console to variable