make sure to check for nulls in the toString() method