slight gramatical change in exit_type notation both,exit,entry