Changed obj into tuple