added inheritance
added model