finished red black integration