Demo code for my lectures