exception moved to utils file