changed isComplete to isCompleted