more demoing code