`` now , doctor , based upon these factors and your diagnosis of his mental condition as of may 20 , do you have an opinion , to a reasonable degree of medical certainty , as to whether mr. hailey was capable of knowing the difference between right and wrong when he shot billy ray cobb , pete willard , and deputy dewayne looney ? ''