rename a lot of variables to improve comprehension