Added documentation and variable name change