better error messages.  code also reads prettier