wip: settings layout and function