updated getname and color