With replacement and without replacement