converted grid to UMD issue #1