Added eof example