changed response to access nextPage