added parameter to the geometry construction