Repetitious code below.  DRY this out please.