added a feature for finding the type of the source or target. can be conjoined with the others.