making progress, still depends on an ia hack