wrote dict with list
switched over to dict/list tree