creating inner pages