dictAddItem needs to be checked: segmentation faut occurs