added ring color functionality