adding references to embedded task