tweaked to try to fix Boogie/Corral syntax.
this passes under boogie