adding reject control