added and tested for Task Complete feature