updated some of the inner workings. switched from arrays to objects to store data. Not sure how I was thinking I'd ference stuff using arrays  but there you go.