Beck's closest colleague was Marvin Stein, a friend since their army hospital days to whom Beck looked up for his scientific rigor in psychoneuroimmunology. Beck's first research was with Leon Saul, a psychoanalyst known for unusual methods such as therapy by telephone or setting homework, who had developed inventory questionnaires to quantify ego processes in the manifest content of dreams (that which can be directly reported by the dreamer). Beck and a graduate student developed a new inventory they used to assess "masochistic" hostility in manifest dreams, published in 1959. This study found themes of loss and rejection related to depression, rather than inverted hostility as predicted by psychoanalysis. Developing the work with NIMH funding, Beck came up with what he would call the Beck Depression Inventory, which he published in 1961 and soon started to market, unsupported by Appel. In another experiment, he found that depressed patients sought encouragement or improvement following disapproval, rather than seeking out suffering and failure as predicted by the Freudian anger-turned-inwards theory.