adding multiple switches