define milliseconds for frame. it is 50 milliseconds.