ADT showed a beneficial effect on pain , activity limitation and social functioning in M1 patients , and a deleterious effect on physical capacity in M0 patients and on sexual functioning in both groups .