added some debug text; still a work in progress....