added new instructions
fixed XPOS bug