added data assembling