data and code for intro example