super demo working and found a solution for detecting collection end!!!!