Added switch pages