-- glitch logic and parameters.