add exception method