removed unused xquery