added other attributes to unicode method