implemented adding new tasks