Removed unnecessary I/O