added Dictionary.add method