new syntax introduced for safe terminate