add print fxn for tm directory