changed time boundary to 680ms
another and another
code working, tested all the way through