added functions to generate data in dictionary form.