using print instead of println for values