A measure of family functioning and its application