Rearranged - made TaskQueue