Added third confirugration option; draft, needs serious refactoring