Typo in logic about starting a function.