worked on settings. a bit broken