Code clean up and updated word doc