add grid example and code