removed exit which shouldnt have been there