add structure for multipage support