added basic tasking functionality