adding maged pages