no need for binary variable now, and add some comments