Split up firingMode() code into sub-units