made the num tasks array a little bit smaller