edited grid/offset