changes to dict.h, still doesn't work