not tested, but have all the xyz co-ordinates now being found for initialisation step