extracting try again code