works with the new dictionary functionality