changed register to xhtml