dict is working