Proof of concept code, answers to questions I ask to myself.