modified structure, add get cpu tasks