database now working with digesters
added xa select