supporting programatic calling of tasks