added new example for instantiation of settings via variables