added xgl_grid = Integer range 0..N