added reject-sample