converted selections to  syntax