adapted phases to current scheme.
clarified ambiguous comments.