change value to val