delete inheritance