enhanced i/o and new examples