Finished draft coding.