refactor brick_add