Creating an outline of the selected state prefix