removed exit call