working on settings controller