override toString for each class