changed function for rank text to also include trailing dot