creating and reading tasks