[refactoring] extract CreateCone as function