edits to xpr