split up data into data and label