New code, in HaxePunk