xml inputs implementation