compiles 5 different arrays of data