Deleted unused import
Added Exceptions