giving all types a repr() method