Added organizations to the relational algorithm