removed global color assignment