defiend the methods of the package.