progress with x86 impl