better explaination of the end of dataset problem