changed pages to one level of depth