changed class name and exit behaviours.