Removed calculatingMode as Parameter and made it Member variable instead.