master : Ineffiecent, but added the ability to select subpages