added IO and debug examples