add chapter array and pointer