modify toString method