data structure changes in view