basic querying, adding, and completing tasks functions