refactor ridgedmulti. #27