fix repeat handling by making start_time static
Merge pull request #2 from olebowle/master

fix repeat handling by making start_time static