adjust order of options and fill out the code documentation for purchase pages