modify data-structure