Buttons to array and basic check