Deleted unused io function