Use the choice workflow to simplify the code in some places.