Initial proof-of-concept code