rm and bs in mining types