first implementation of settings processing