added dye api