Added GetAtIndex method, need to rework for better intface with other programs.