add opposite_color function, and stub out logic