read out data, initialize objects