This was not returning the names, changed it