a method of dyeing