[tb] deprecated code