added some bodies to error catches. Only expceptions