hatch proof of concept code