setup for next pages