try-catch assert added