refactoted to use a Vector3 in image swarm