don't use eof property on example.