simplified toString method