added master detail pages back in