add computation in x variable