add extend, addValue methods