Hierarchical Task-Chaining