Hi ppotaczek, It looks correct, thanks for the clarification. But from your answer i want to know, from the below piece of code, how this data[index].low and data[index].high is working? index is for getting the array index, but how low,high getting the right values. Because, i am trying to add one ...