first working config generator