added code to split words connected by '--'
not quite working perfectly