Updated Code

twice .nextPage() seems to fail