Proof of concept
Thanks to Callum Prentice