plot and prioritize tasks