Implemented all query sending mechanisms