added in sending of agent color