Prof demo code