add samples and tasks