rem second berlekamp