remove unnecessary method
add documentation for the various query functions