renamed variables for understandability