using print instead of println for value lists