If we moved XML::element() call to a line above or the controller, it'd be clearer what it's output value is used for