change add to addValue to not shadow virtual function