implement x-form instruction