made get_results funcs and modified structure of some data outputs