updated to haxe3