what is the goal of ``$value`` in this method ?