There are several global variables that CardioWave uses to make the programming a bit easier -- otherwise many of the function calls would have quite a few more arguments.