implemented add-brick