Now method addValue() and size() work.