added debug code -- yup