Implemented inheritence