Finished documenting code for sudden awakening.