upgrade to v0.8 compiler syntax