color table + behavior approach