add function: AddCube and AddSphere