adjusted to beta 5 and added new xpath expression