refactored gamephysicsarray in addition to creating variables to one line