added logging, increased page size to 1000