xml implemented, more or less