oops.  else if instead of elsif