still fail after copying code from Intel