moved done to boolean type from UI though middle tier to db