updated for haxe3.0 syntax changes