class heritage
hacky version of literals