Add the new mine functions