to_s method returns name attribute