added settings factory