Creating itr and exception handling, polymorphism