adding xpath generation