introduction to inheritance