Switched solution Version