expanded some variable names, hopefully made it more readable