switch from Hash to ArrayList

presumably lower constant O(1)