added some variables for clarity