Got very basic function example working with assign, no backpatching yet