added the reg. page. Scott's code