This raises the question of whether camelCasing or under_scores are to be used in lua, I guess if the current trend is towards under_scores, then pauseState should be pause_state.