refactor brick switch