working on adding timing

I cant seem to get query_tasks to work properly. Tasks just dont show up.
nsample callback working