add zakonczone method to task object