added geometry loading