grid: new functions