add done property to task obj