get row names to print