code running on flora, 1-button version