renamed variables to make it more readable.