The outcome variables were the Psychodynamic Functioning Scales and Inventory of Interpersonal Problems , measured at pretreatment , midtreatment , posttreatment , 1 year , and 3 years after treatment termination .