added geometry helpers