modifying dictionary