changing values for position