Demo code for COIT29222