created a new class an xpath generator