updated geometry api