All of the clauses are written (but not yet all working).