Changed some spacing and variable name