Refactored the time min function for the choice and strategy stage into one function