data output + rank