Branched out from the lecture example