modify variables, put all position, velocity information into arraylists