move bresend to debugg