revised variable names. Deprecated and annotated some variables and processes.