turning period into ellipsis