adding task finalizing