Use parenthesis (index&1)==0