add data and color codes