Sherlock encounters an artificial intelligence software that may be his perfect match on tonight’s Elementary season 3, episode 4, “Bella.”

Elementary has given Sherlock a wide array of interesting cases, hobbies, and experiments over the years. Some extend beyond his capacity to comprehend, but with his irregulars occasionally stepping in to fill the gaps. On tonight’s Elementary season 3, episode 4, “Bella,” Sherlock will step aside from investigating the human “who” of the case and focus on the “how” of the machine.

Previously on ‘Elementary’

The varying extremes of Joan and Sherlock’s approach to relationships was the focus of last week’s episode. When Harlan Emple, Sherlock’s primary math consultant, comes back into the picture, Sherlock handles the admiration Harlan holds for him in a less than cordial way. Joan’s compassion certainly rubbed off on him and he recognizes how he mishandled Harlan and makes amends by saving his life and eliminating the trail that could lead the FBI to his blog.

Joan and Kitty have their own communication issues as Joan tries to bridge the gap between them by putting Kitty on one of her PI cases. Sherlock encourages the interaction, but Joan worries that he and Kitty are feeding off one another in an unhealthy way. Kitty recognizes the shortcomings of Sherlock’s mentorship and takes a giant leap towards Watson explaining that she will need both of them to succeed in her training.

Related: Elementary season 3, episode 3 recap: Mo Shellshocker

This week on ‘Elementary’

Artificial intelligence software is nothing groundbreaking. But AI software that begins to make requests without the input of its programmers, is another story. When the program, “Bella,” is stolen, Holmes is sought out by the company’s founder to expedite the recovery process. With Kitty and Joan out on the streets, Sherlock is left to submit the computer to the Turing test. Will the machine be able to match intelligent behavior of Holmes?

Related: Clyde Watch 2014: Elementary season 3, episode 4 clips

Watch the promo here:

Watch Elementary season 3, episode 4, “Bella,” tonight at 10:00 p.m. ET on CBS.