made helperfunc for click next link in datafunctions