eliminate duplication
generate pages