quantit class added. first trial