changed the way it receive the initialization data from the server