Made printLong and printShort into string objects that can be printed as part of a stream