change color_change_count to instance variable