added digit type switching methods