changed the code of getting the data, since now I am going to go for all the categories, and also, changing from open to WAP in the array