declare exception where required