adding multiple inheritance practice