added resources, and extracting task