changes the structure of formula