removed redundant dict
changed function name to reflect removal of intermediary dict structure