Added first simple exception handler