add required page element checks for hw3