example for selective inheritance