variable names fixed (R code)