added data to the package. Started using inherits function.