linked lists replaced with arrays in order to shrink the exec size