slice the data