moved levels to a plugin
Constructor has lost the levels param; now a plugin