added a method to combine all of the main keyframes and coordinates