extent uses Color class and cleaned up some new statements