why not rand(-1,1)?