finish gender, dist, rank(eig) and ui