Modify toString method