added dictionary method