setup mostly done