added mode argument to FindTask
added mode to RenderTask