move overall setup to top