added checks for discard vs robbing