removed the old query functions which were written prior to ox.reference~