Use the checks-effects-interactions pattern