changed interval timing to 50ms