made repeatable

need to test on linux, but otherwise it should be finished