added support for a single task