Added getting task object