hedge pseduo-code
End of class, out of time for implementation