Add functions in create geometries functions