default to a depth of 1, encode page contents