basic RepeatPage version buuuuut it works