added error catching to warn user about source not spelled correctly