got rid of all the array nonsense, now working of of just a deque