readded multi page support