Rewrite of dictionary method