Ownership error resolved
Exception and catcher added