suppressed the for loop and everything worked as a charm
restored for loop. Easy to present to people how to retrive and store data in real-time