spacing and comments
improved variable names