probably worth using a linkedlist here as well, although I doubt allocating 10 ints makes much difference though compared to other stuff we do