this was calling 'setup' twice, since 'config' also calls 'setup'