more work to init purchase page