Make LineGrid work