array, dictionary, and function