Added projection values and grid function