must create page before reaching return