Ebad: (i value increased & added throws ioexception)