Made some variable names more meaningful.