new pageturner code