Minor refactor in how getDictionary works. This seems clearer to me.
Pulling out ‘isPaused’ function which will return a boolean value.