add exception for debugging