add dict class method