same data format as NN + error functions