changed loop interval