Added storage of next page