-copypasted inherit 2