working on settings, part works, and will continue later