changing values of x,y domain