produces XML but doens't sent to client
some small mods