selective inheritance