20141031: updated midterm