added completed state to course processing