set page to be array