added missing prototype methods