adding other insert/query functions