io basic code