adding in some haxe stuff