rename some variables for clarity