work on dict implementation