Work with tasks