Proof-of-concept code for Kirk