adding geometry and primitives