avoiding duplication of variables, using snakecase for variables