working on geometry defined as code