added code for start/stop pages