dictionary functionality added