X2 - getting and preparing the data