added missing error method