apply decorator to all tc in class