A setup for level-switching