changed toString method