geometry and measurement setup