print out each type of reference seperately