add deprecated hashmap