#c coding for multiple inheritance