conditions of inheritance