started writing a demo for sec 2.2, it is in a comment for now