A function to obtain tasks