added geometry API