tv detective's code