added case to add and shorthandMonitorThreadID