adding tasks to db works