converting .. to ..<