adding XQuery materials