set interval to 50 ms