use tr function from base_classes everywhere