some fooling around with the configurator SQL