A new example using functions as read and seek.