adjusted position of x