adusted definition to support new way of handling relations where both the direct relation and the assignment relation are specified.