set up in class demo code