added autopagerize