Updated variable names to be more descriptive
Updated usage in comments