Add 'equales to' feature. Refectory  function.