updated array to have appropriate traits type
considering next steps, probably hashtable impl