use iloc instead of loc and -1