do not handle multiple inheritance