Could do with more descriptive variable names (also below).