merged two select_field examples