door and switches