mass inheritance