Simplified demo codes