trying to implement repeatable next method