change logic of brev