Changed a variable name to make it clearer