use parent for class inheritance