Finish up the rank command.