Added loop for all positions and some init data