renamed variables for better readability