extracted task structure for bootstrap