Added an addValue method