adding inheritance mapping