added logging and a rejection response window