Added loop so data is generated for all crosses
tidied up and removed comments
Now includes loop and should work for crosses