basicdgridexample works