use settings from xml