Changed string key to int key