finished coding for input group options