changed to geometry for 3D