toString method added to domain classes