first, non-working version of InsertMainConfiguration