a bit of twisted scaffolding and proof-of-concept code