1. change dictionary hierarchy structure