added naturalJoin implementation