minor adjustments for thesis demonstration