simpler demo code
fix for user input option selections not persisting