Cleaned up variable names. Got to work on a document update function. Variable names still need work