Added functionality for getting current TM status