added missing magic method