adding rejected flag