add dictionary prototype