various settings I had to use to avoid glitching and enable realtime