Changed println wrapper so it accepts type object

changed relevant console.println lines to reflect changes