added "constants" to make adjustments to delays easier