finalize 'setup' implementation