provide two data structure options, array or dict (dict needs to be implemented)