Declare pageTree as array