trying to get rid of copypasted inherit