add function to get tasks on the screen