added switch element