most of the config done