modifying the whole structure