switched back to for loop because this was no longer a gameobject